package com.karry.yl.domain.elder;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.karry.commons.base.SuperEntity;

/**
 * 入院记录
 */
@TableName("check_in_records")
public class CheckInRecords extends SuperEntity {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long elderlyId; //所属老人
    private String elderlyName;  //老人姓名
    private Long orgId; //所属机构
    private String orgName; //机构名称
    private String buildingNo;  //入住楼号
    private String roomNo; //入住房间号
    private String bedId; //床位id
    private String bedNo; //床位号
    //表示该属性不为数据库表字段，但又是必须使用的。
    @TableField(exist = false)
    private Long nursingDepartmentId;//护理部门
    @TableField(exist = false)
    private Long mealId;//护理级别
    @TableField(exist = false)
    private Long buildingId;//入住楼Id
    @TableField(exist = false)
    private Long roomId;//入住房间Id

    public Long getElderlyId() {
        return elderlyId;
    }

    public void setElderlyId(Long elderlyId) {
        this.elderlyId = elderlyId;
    }

    public String getElderlyName() {
        return elderlyName;
    }

    public void setElderlyName(String elderlyName) {
        this.elderlyName = elderlyName;
    }

    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public String getBuildingNo() {
        return buildingNo;
    }

    public void setBuildingNo(String buildingNo) {
        this.buildingNo = buildingNo;
    }

    public String getRoomNo() {
        return roomNo;
    }

    public void setRoomNo(String roomNo) {
        this.roomNo = roomNo;
    }

    public String getBedId() {
        return bedId;
    }

    public void setBedId(String bedId) {
        this.bedId = bedId;
    }

    public String getBedNo() { return bedNo; }

    public void setBedNo(String bedNo) { this.bedNo = bedNo; }

    public Long getNursingDepartmentId() {
        return nursingDepartmentId;
    }

    public void setNursingDepartmentId(Long nursingDepartmentId) {
        this.nursingDepartmentId = nursingDepartmentId;
    }

    public Long getMealId() {
        return mealId;
    }

    public void setMealId(Long mealId) {
        this.mealId = mealId;
    }

    public Long getBuildingId() {
        return buildingId;
    }

    public void setBuildingId(Long buildingId) {
        this.buildingId = buildingId;
    }

    public Long getRoomId() {
        return roomId;
    }

    public void setRoomId(Long roomId) {
        this.roomId = roomId;
    }
}
